package cn.wokoba.service.activity.service.trial;

import cn.wokoba.service.activity.adapter.repository.IActivityRepository;
import cn.wokoba.service.activity.model.entity.MarketProductEntity;
import cn.wokoba.service.activity.model.entity.TrialBalanceEntity;
import cn.wokoba.service.activity.service.trial.factory.DefaultActivityStrategyFactory;
import cn.wokoba.types.desgin.framework.tree.AbstractMultiThreadStrategyRouter;
import jakarta.annotation.Resource;

import java.util.concurrent.ExecutionException;
import java.util.concurrent.TimeoutException;

public abstract class AbstractGroupBuyMarketSupport extends AbstractMultiThreadStrategyRouter<MarketProductEntity, DefaultActivityStrategyFactory.DynamicContext, TrialBalanceEntity> {


    @Resource
    protected IActivityRepository activityRepository;

    protected long timeout=5000;

    @Override
    protected void multiThread(MarketProductEntity requestParameter, DefaultActivityStrategyFactory.DynamicContext dynamicContext) throws ExecutionException, InterruptedException, TimeoutException {

    }
}
